{template Public:Admin:header}
<style type="text/css">
input[type="checkbox"], input[type="radio"] {
	opacity: 1;
	position: static;
}
</style>
<form action="/admin/siteset/post" method="post" class="form-horizontal form-bordered " role="form">
    <div class="form-group">
        <h3>附件设置</h3>
    </div>
     <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">图片格式</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="uploadphototype" value="{echo C('uploadphototype')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">用户上传图片格式 多个用,分开</span>
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">文件格式</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="uploadfiletype" value="{echo C('uploadfiletype')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">用户上传文件格式 多个用,分开</span>
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">单个图片上传大小(bit)</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="oneimageuploadsize" value="{echo C('oneimageuploadsize')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">用户上传单个图片大小(单位bit 1024bit=1KB , 1024KB=1M )</span>
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">总图片上传大小(bit)</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="totalimageuploadsize" value="{echo C('totalimageuploadsize')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">用户每次上传总图片大小(单位bit 1024bit=1KB , 1024KB=1M )</span>
        </div>
    </div>
    
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">单个文件上传大小(bit)</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="onefileuploadsize" value="{echo C('onefileuploadsize')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">用户每次上传总图片大小(单位bit 1024bit=1KB , 1024KB=1M )</span>
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">总文件上传大小(bit):</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="totalfileuploadsize" value="{echo C('totalfileuploadsize')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">用户每次上传总图片大小(单位bit 1024bit=1KB , 1024KB=1M )</span>
        </div>
    </div>
    
    
    <div class="form-group">
    <h3>图片水印</h3>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">是否开启Logo水印</label>
        <div class="col-sm-3">
            
                    <div class="radio">
                        <label>
                            <input type="radio"{if C('watermarklogo')} checked="checked"{/if} name="watermarklogo" value="1">
                            <span class="text">开启</span>
                        </label>
                    </div>
                    <div class="radio">
                        <label>
                            <input type="radio"{if !C('watermarklogo')} checked="checked"{/if} name="watermarklogo" value="0">
                            <span class="text">关闭</span>
                        </label>
                    </div>
               
        </div>
        <div class="col-sm-7 text-muted">
       是否开启LOGO水印
        </div>
    </div>   
    
     <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">是否开启文字水印</label>
        <div class="col-sm-3">
            
                    <div class="radio">
                        <label>
                            <input type="radio"{if C('blackwatermark')} checked="checked"{/if} name="blackwatermark" value="1">
                            <span class="text">开启</span>
                        </label>
                    </div>
                    <div class="radio">
                        <label>
                            <input type="radio"{if !C('blackwatermark')} checked="checked"{/if} name="blackwatermark" value="0">
                            <span class="text">关闭</span>
                        </label>
                    </div>
               
        </div>
        <div class="col-sm-7 text-muted">
       是否开启文字水印
        </div>
    </div>   
    
     <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">水印字体路径</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="sitefont" value="{echo C('sitefont')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">水印字体文件路径</span>
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">水印图片最小像素(PX)</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="watermarkminimum" value="{echo C('watermarkminimum')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">图片最小像素px，超过该 400 系统不处理水印</span>
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">水印LOGO图片地址</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="watermarklogopath" value="{echo C('watermarklogopath')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">网站水印LOGO图片地址</span>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">水印LOGO位置</label>
        <div class="col-sm-3">
         		<div class="radio">
                    <label>
                        <input type="radio"{if C('watermarklogoposition')==1} checked="checked"{/if} name="watermarklogoposition" value="1">
                        <span class="text">左上</span>
                    </label>
                </div>
                <div class="radio">
                    <label>
                        <input type="radio"{if C('watermarklogoposition')==3} checked="checked"{/if} name="watermarklogoposition" value="3">
                        <span class="text">右上</span>
                    </label>
                </div>
                
                <div class="radio">
                    <label>
                        <input type="radio"{if C('watermarklogoposition')==7} checked="checked"{/if} name="watermarklogoposition" value="7">
                        <span class="text">左下</span>
                    </label>
                </div>
                
               <div class="radio">
                    <label>
                        <input type="radio"{if C('watermarklogoposition')==9} checked="checked"{/if} name="watermarklogoposition" value="9">
                        <span class="text">右下</span>
                    </label>
                </div>
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">水印LOGO位置</span>
        </div>
    </div>
    
   <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">水印LOGO透明度</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="watermarktransparent" value="{echo C('watermarktransparent')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">水印LOGO透明度值为 0~100</span>
        </div>
    </div>
    
    
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right">水印文字</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="watermarkname" value="{echo C('watermarkname')}">
        </div>
        <div class="col-sm-7 text-muted">
        <span class="text-muted">可用标签 {username} {time}</span>
        </div>
    </div>
    
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button class="btn btn-palegreen" type="submit">提交</button>
        </div>
    </div>
</form>


{template Public:Admin:footer}